﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Data;
using FOBVT.Web.MainClass;

namespace FOBVT.Web.DBUtility.ManagerImpl
{
	public interface INewsDaManager
	{
		DataTable GetNewsListAll(Type infoType);
		DataTable GetNewsListPagin(Type infoType, PagingEntity pe);
		DataTable GetLatestNewsList(Type infoType, int newsnum);
		FOBTVNews GetNewsById(FOBTVNews news);
		bool InsertNews(FOBTVNews news);
		bool UpdateNews(FOBTVNews news);
		bool DeleteNews(FOBTVNews news);
		bool DeleteNewsByIds(Type infoType, string Ids);
	}
}